package com.example.fireassistant_server.service;

import com.example.fireassistant_server.dto.PointSearchFilter;
import com.example.fireassistant_server.dto.polyline.PolyLineCreateRequest;
import com.example.fireassistant_server.dto.polyline.PolyLineDto;
import com.example.fireassistant_server.dto.polyline.PolyLineUpdateRequest;
import com.example.fireassistant_server.entity.User;
import com.example.fireassistant_server.vo.PolyLineVo;
import org.springframework.data.domain.Page;

import java.nio.channels.FileChannel;
import java.util.Optional;

public interface PolyLineService {


    PolyLineDto addLine(PolyLineCreateRequest polyLineCreateRequest, User user);

    PolyLineDto get(String id );

    void delete(String id);

    Page<PolyLineDto> search(PointSearchFilter pointSearchFilter);

    PolyLineDto update(String id, PolyLineUpdateRequest polyLineUpdateRequest);
}
